/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package workforce.limousine.service;

import java.util.List;
import javax.sql.DataSource;
import limousine.vo.BookingInfo;

/**
 *
 * @author krisada
 */
public interface BookingSearcher {
    public void setDataSource(DataSource dataSource);
    public void setLimit(int limit);
    public List<BookingInfo> query(int offset);
    public List<BookingInfo> search(int offset, Object find[]);
    public List<BookingInfo> findByDate(int offset, String find);
    public List<BookingInfo> findByCustomer(int offset, String customerId, String find);
}
